import { Meta, Preview, ArgTypes } from '@storybook/blocks';
import { Spinner } from './Spinner';

<Meta title="MDX|Spinner" component={Spinner} />

# Spinner

Spinner is `fa-spinner` icon animated. It is used to alert a user to wait for an activity to complete.

<Preview>
  <div>
    <Spinner />
    <Spinner className="my-spin-div" iconClassName="my-spinner-classname" size={24} />
  </div>
</Preview>

<ArgTypes of={Spinner} />
